package com.lee.spring.service.impl;


import com.lee.mybatis.entity.UserNo;
import com.lee.mybatis.mapper.UserNoMapper;
import com.lee.spring.service.UserNoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class UserNoServiceImpl implements UserNoService {

    @Autowired
    private UserNoMapper userNoMapper;
    @Override
    public UserNo selectByUserNo(int status) {
        log.info("正在查询...");
        return userNoMapper.selectByUserNo(1);
    }

    @Override
    public void updateByUserNo(UserNo userNo) {
        userNoMapper.updateByUserNo(userNo);
    }
}
